import { reactive, ref } from 'vue';
export function useImageDrawer() {

    const addBtnRef = ref(null);
    const formRef = ref(null);
    const rules = ({
        name: { required: true, message: '请输入分类名称', trigger: 'blur' },
    });
    const classifyForm = reactive({
        name: '',
        order: 1
    });

    return {
        addBtnRef,
        formRef,
        rules,
        classifyForm,
    }
}